package ua.edu.nuos.jeetraining2012.cms.service.exception;

/**
 * Use this Exception to notify, that user had not already been enrolled to course.
 *
 * @author Victor N. Ganichev victor.ganichev@gmail.com
 * @version 1.0 Date: 02.07.13 Time: 10:29
 * @since 1.0
 */
public class StudentNotEnrolledException extends Exception {

    /** Default exception */
    public StudentNotEnrolledException() {
        super();
    }

    /**
     * Exception with customised error message.
     *
     * @param msg       Error message.
     */
    public StudentNotEnrolledException(String msg) {
        super(msg);
    }
}
